package org.fixed.dubboconsumer.entity;

import java.io.Serializable;
import java.util.List;

public class CallRequest implements Serializable {
    /**
     * 接口名
     */
    private Class interfaceClass;
    /**
     * 参数
     */
    private List<Object> param;
    /**
     * 版本号
     */
    private String version;
    /**
     * 需要直连的机器地址
     */
    private String remoteUrl;
    /**
     * 不同的环境。
     * 用于测试、生产、本地开发环境等
     */
    private String model;

    public String getRemoteUrl() {
        return remoteUrl;
    }

    public void setRemoteUrl(String remoteUrl) {
        this.remoteUrl = remoteUrl;
    }

    public Class getInterfaceClass() {
        return interfaceClass;
    }

    public void setInterfaceClass(Class interfaceClass) {
        this.interfaceClass = interfaceClass;
    }

    public List<Object> getParam() {
        return param;
    }

    public void setParam(List<Object> param) {
        this.param = param;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }
}
